LIBRARIES = -lshlwapi
REGREAD = regread.exe
OBJ = regread.o

all: $(REGREAD)

$(REGREAD): $(OBJ)
	$(CC) -o $(REGREAD) $(OBJ) $(LIBRARIES)

.c.o:
	$(CC) -c $<

clean:
	rm -f $(REGREAD) $(OBJ)

distclean: clean

.PHONY : all clean distclean
